home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
TEMP
/
GNU
/
bison
/
Precedencf
< prev
next >
Wrap
Text File
|
1995-06-28
|
717b
|
19 lines
Precedence
Previous: <Shift\/Reduce=>ShiftRedue> * Next: <Contextual Precedence=>Contextual> * Up: <Algorithm=>Algorithm>
#Wrap on
{fH3}Operator Precedence{f}
Another situation where shift\/reduce conflicts appear is in arithmetic
expressions. Here shifting is not always the preferred resolution; the
Bison declarations for operator precedence allow you to specify when to
shift and when to reduce.
#Wrap off
<Why Precedence=>WhyPrecede>: An example showing why precedence is needed.
<Using Precedence=>UsingPrece>: How to specify precedence in Bison grammars.
<Precedence Examples=>Precedencg>: How these features are used in the previous example.
<How Precedence=>HowPrecede>: How they work.
#Wrap on